package com.qianli.cashmama.product.facade.enums;

/**
 * @program: cashmama-product
 * @description
 * @author: frank
 * @create: 2019-12-27 17:03
 **/
public enum CategoryTypeEnum {
    RECOMMEND(1, "recommend"),//推荐
    HOT(2, "hot"),            //热点
    COMMON(3, "common");      //普通

    private Integer code;
    private String name;

    CategoryTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public CategoryTypeEnum setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public CategoryTypeEnum setName(String name) {
        this.name = name;
        return this;
    }
}
